package call4paper;

import java.util.Calendar;
import java.util.Vector;


import accesory.DeadLine;


import website.User;

public class ReceptionState extends CFPState {
	private DeadLine date = new DeadLine(Calendar.DATE,Calendar.MONTH +1, Calendar.YEAR);
	

	@Override
	public boolean checkDeadLine() {
		return this.date.isToday();
	}

	@Override
	public void setFinalStatusState(Vector<PaperJob> paperJobs) {
		// nothing
	}

	@Override
	public CFPState nextStates() {
		return new RevisionState();
	}

	@Override
	public void uploadPaperJob(PaperJob aJob,CFP aCFP) {
		aCFP.getPaperJobs().add(aJob);
	}

	@Override
	public Vector<PaperJob> checkAsignationCFP(CFP aCFP, User user) {
		return null;
	}

}
